using System;
using System.Drawing;
using System.Web.UI;

namespace ScottCateAjax2008.Lesson05
{
    public partial class D_SpanOrDiv : Page
    {
        protected void Page_Load ( object sender, EventArgs e )
        {}

        protected void ChangeUPColor(object sender, EventArgs e)
        {
            if (LabelColor.BackColor == Color.Red)
                LabelColor.BackColor = Color.Black;
            else
                LabelColor.BackColor = Color.Red;
        }
    }
}